package com.kaishengit.service;

import java.util.List;

import com.kaishengit.dao.fileTypeDao;
import com.kaishengit.entity.FileType;
import com.kaishengit.util.db.Page;

public class FileTypeService {
	
	private fileTypeDao dao = new fileTypeDao();

	public  List<FileType> findAll() {
		return dao.findAll();
	}

	public Page<FileType> findByPage(String pid, int pageNum) {
		
		return dao.findByPage(pid,pageNum);
	}
	

}
